﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="moreOrderTask.ascx.cs" Inherits="Higer.SharePoint.UserControls.moreOrderTask" %>

<style type="text/css">
        body
{
    font-size: 11pt;
    font-family: 宋体;
}
.mainTitle
{
    font-size: 12pt;
    font-weight: bold;
    font-family: 宋体;
}
.commonText
{
    font-size: 11pt;
    font-family: 宋体;
}
.littleMainTitle
{
    font-size: 10pt;
    font-weight: bold;
    font-family: 宋体;
}
.TopTitle
{
    border: 0px;
    font-size: 10pt;
    font-weight: bold;
    text-decoration: none;
    color: Black;
    display: inline-block;
    width: 100%;    
}
.SelectedTopTitle
{
    border: 0px;
    font-size: 10pt;
    text-decoration: none;
    color: Black;
    display: inline-block;
    width: 100%;
    background-color: White;
}
.ContentView
{
    border: 0px;
    padding: 3px 3px 3px 3px;
    background-color: White;
    display: inline-block;
    width: 390px;
}
.SepBorder
{
    border-top-width: 0px;
    border-left-width: 0px;
    font-size: 1px;
    border-bottom: Gray 1px solid;
    border-right-width: 0px;
}
.TopBorder
{
    border-right: Gray 1px solid;
    border-top: Gray 1px solid;
    background: #DCDCDC;
    border-left: Gray 1px solid;
    color: black;
    border-bottom: Gray 1px solid;
}
.ContentBorder
{
    border-right: Gray 1px solid;
    border-top: Gray 0px solid;
    border-left: Gray 1px solid;
    border-bottom: Gray 1px solid;
    height: 100%;
    width: 100%;
}
.SelectedTopBorder
{
    border-right: Gray 1px solid;
    border-top: Gray 1px solid;
    background: none transparent scroll repeat 0% 0%;
    border-left: Gray 1px solid;
    color: black;
    border-bottom: Gray 0px solid;
}

.Tabboxcontent td{line-height:18px; font-size:12px;padding-right:10px;}
.Tabboxcontent td a{color:#333; text-decoration:none;}
.Tabboxcontent td a:hover{color:red;}
.more{ display:block; text-align:right;}
.more span{font-size:12px;background:url(http://hollydai/_layouts/2052/imagesnews/listicon-01.gif) no-repeat 2px 2px;color:#3399CC;padding-left:10px;padding-right:15px;}
.more span a{color:#3399CC;text-decoration:none;}
.more span a:hover{color:#ff0000;}
.datecss{padding-left:15px;}

.myredcss a{color:#ff0000; text-decoration:none;}
.myredcss a:hover{color:red;}
.myredcss {font-size:12px;color:#ff0000; }

.mybluecss a{color:#0063c5;text-decoration:none;}
.mybluecss a:hover{color:red;}
.mybluecss {font-size:12px;color:#0063c5;}

.mygreencss a{color:#00c464;text-decoration:none;}
.mygreencss a:hover{color:red;}
.mygreencss {font-size:12px;color:#00c464; }

.myblackcss a{color:#000000; text-decoration:none;}
.myblackcss a:hover{color:red;}
.myblackcss {font-size:12px;color:#000000;}

.labelhander { }

</style>

<script type="text/javascript" language="javascript">
function gotoWaitHandle()
{
    window.open("http://www.klsz.com/webflow/flow/waithandle2.asp");
}
function gotoOrderTask()
{
    window.open("http://www.klsz.com/webflow/flow/waithandle2.asp");
}
</script>

<div>
    <table>
        <tr>
            <td>
                <div id="divOrderTask" runat="server" style="cursor:hand" onclick="gotoOrderTask()">
                                                                
                                                            
                    <asp:GridView ID="gvOrderTask" runat="server" AutoGenerateColumns="false" 
                        ShowHeader="false" GridLines="None" AllowPaging="False" 
                        onrowdatabound="gvOrderTask_RowDataBound" Width="100%" >
                        <HeaderStyle CssClass="myHeaderStyle" />
                        <PagerSettings Visible="False" />
                        <RowStyle CssClass="Tabboxcontent" />
                        <AlternatingRowStyle CssClass="Tabboxcontent" />                       
                        <Columns>
                                <asp:TemplateField HeaderText="img" ItemStyle-Width="15px">
                                    <ItemTemplate>
                                        &nbsp;<img src="http://hollydai/_layouts/2052/imagesnews/icon.gif" style="padding-bottom:2px" />
                                    </ItemTemplate>
                                    <ItemStyle Width="15px" />
                                </asp:TemplateField>
                                <asp:TemplateField HeaderText="subject" >
                                    <ItemTemplate>
                                        <asp:Literal runat="server" ID="LiteralOrderCode" Text='<%# DataBinder.Eval(Container,"DataItem.order_code")%>'></asp:Literal>
                                        &nbsp;(<asp:Literal runat="server" ID="LiteralItemModel" Text='<%# DataBinder.Eval(Container,"DataItem.item_model")%>'></asp:Literal>、<asp:Literal runat="server" ID="LiteralMadeCode" Text='<%# DataBinder.Eval(Container,"DataItem.made_code")%>'></asp:Literal>)
                                        
                                    </ItemTemplate>
                                </asp:TemplateField>
                                <asp:TemplateField  HeaderText="requestdate">
                                 <ItemTemplate>
                                      <asp:Literal runat="server" ID="LiteralRequestDate" Text='<%# GetRequestDate(DataBinder.Eval(Container,"DataItem.request_date").ToString())%>'></asp:Literal>
                                 </ItemTemplate>
                                </asp:TemplateField>
                                <asp:TemplateField  HeaderText="firstlinedate">
                                 <ItemTemplate>
                                      <asp:Literal runat="server" ID="LiteralFirstLineDate" Text='<%# GetFristLineDate(DataBinder.Eval(Container,"DataItem.first_line_date").ToString())%>'></asp:Literal>
                                 </ItemTemplate>
                                </asp:TemplateField>
                                
                                <asp:BoundField DataField="request_date" HeaderText="requestdate" />
                        </Columns>
                    </asp:GridView>
                </div>
                    <asp:Label ID="lblMessage" runat="server" Text="" Visible="false" ForeColor="Red"></asp:Label>
                <div>
                    
                </div>
            </td>
        </tr>
    </table>
</div>